package com.zhuoan.im.webapp.dao.mapper;

import com.zhuoan.im.webapp.dao.model.FriendsApplyInfo;

import java.util.List;

public interface FriendsApplyInfoMapper {
    int deleteByPrimaryKey(Long id);

    int insert(FriendsApplyInfo record);

    int insertSelective(FriendsApplyInfo record);

    FriendsApplyInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(FriendsApplyInfo record);

    int updateByPrimaryKey(FriendsApplyInfo record);

    List<FriendsApplyInfo> queryUserApplyList(Long appliedUserId);

    List<FriendsApplyInfo> queryUserApply(FriendsApplyInfo friendsApplyInfo);

    void updateFriendsApply(FriendsApplyInfo friendsApplyInfo);
}